//
//  UserInfo.swift
//  Center
//
//  Created by 蒋晨成 on 2021/12/29.
//

import Center_Core_Model
import Center_RPC
import Foundation
import Storage

public struct UserInfo: CodableStorable {
    public let guid: String
    public let avatar: String
    public let username: String
    public let gender: Int64
    public let mobile: String
    public let signature: String

    init(response: Azir_BasicProfile) {
        guid = response.guid
        avatar = response.avatar
        username = response.username
        gender = response.gender
        mobile = response.mobile
        signature = response.signature
    }
}
